package com.usian.apis.admin;

import com.usian.model.admin.dtos.SensitiveDto;
import com.usian.model.admin.pojos.AdSensitive;
import com.usian.model.common.dtos.ResponseResult;

public interface SensitiveControllerApi {
    //根据名称分页查询敏感词
    ResponseResult list(SensitiveDto dto);

    //添加
    ResponseResult save(AdSensitive adSensitive);

    //修改
    ResponseResult update(AdSensitive adSensitive);

    //删除
    ResponseResult deleteById(Integer id);
}
